// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "Data/CommonEnum.h"
#include "TabbedMenuWidget.generated.h"

DECLARE_MULTICAST_DELEGATE_OneParam(FOnNavigate, int32);
UCLASS()
class MISCELLANEOUSPROJECT_API UTabbedMenuWidget : public UUserWidget
{
	GENERATED_BODY()
public:
	virtual void NativeOnInitialized() override;
	void SwitchTabs(EMenuNavigation Navigation);
	void UpdateSelectedIndex(EMenuNavigation Navigation);
public:
	UPROPERTY(meta = (BindWidget))
	class UHorizontalBox* ButtonsList;
	class USingleTabButtonWidget* Widget_SingleTabButton;
	class USingleTabButtonWidget* Widget_SingleTabButton_C_3;
	class USingleTabButtonWidget* Widget_SingleTabButton_C_4;
	class USingleTabButtonWidget* Widget_SingleTabButton_C_5;
	int32 SelectedIndex;
	FOnNavigate OnNavigate;
};
